package com.design.designmode.action.chain;

/**
 * @author hxl
 * @since 2023-04-17
 */
public class FDYHandler extends RuleHandler {
    @Override
    public void apply(int request) {
        if (request <= 7) {
            System.out.println("辅导员审批通过");
        } else {
            if (next != null) {
                next.apply(request);
            } else {
                System.out.println("无法审批");
            }
        }
    }
}
